package com.dbz.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.dbz.entity.User;
import com.dbz.entity.Warehousing;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WarehousingDao extends BaseMapper<Warehousing> {

    public IPage<Warehousing>selectPage(IPage<Warehousing> page, @Param(Constants.WRAPPER) Wrapper<Warehousing> queryMapper);
    public IPage<Warehousing>selectPageaaa(IPage<Warehousing> page, @Param(Constants.WRAPPER) Wrapper<Warehousing> queryMapper);

//批量添加
    public int insertWarehousing(List<Object> list);


    //修改入库状态
    public int updatewarestate(String waid);

    //修改退回状态
    public int updatewareisbiaoshi(String waid);
}
